package com.blt.govdata.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.blt.govdata.model.TDictionary;
import com.blt.govdata.model.vo.TDictionaryVo;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * Mapper 接口
 * </p>
 * @author AustinGJ123
 * @since 2018-03-27
 */
public interface TDictionaryMapper extends BaseMapper<TDictionary> {

    List<TDictionaryVo> selectVoPage(Page<TDictionaryVo> page, Map<String, Object> paramMap);

    TDictionaryVo selectVoById(String id);

    int selectVoCount(Map<String, Object> paramMap);

    int baseInsert(TDictionary entity);

    int baseUpdate(TDictionary entity);

    int baseDelete(String id);

    Page<TDictionaryVo> selectDictionaryPage(Page<TDictionaryVo> page, Map<String, Object> paramMap);

}